﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NextInventory.Model.Sale;

namespace NextInventory.Business.EntityRepositories
{
    public interface ISaleRepository : IBaseRepository
    {

        #region Sale

        SaleModel GetSaleByID(int Id);
        List<SaleModel> GetSale();
        List<SaleModel> GetSaleByModelID(int Id);

        bool AddSale(SaleModel model);
        bool UpdateSale(SaleModel model);
        bool DeleteSale(int Id);

        #endregion Sale

    }

    public class SaleRepository : BaseRepository, ISaleRepository
    {

        #region Sale

        public SaleModel GetSaleByID(int Id)
        {
            throw new NotImplementedException();
        }

        public List<SaleModel> GetSale()
        {
            throw new NotImplementedException();
        }

        public List<SaleModel> GetSaleByModelID(int Id)
        {
            throw new NotImplementedException();
        }

        public bool AddSale(SaleModel model)
        {
            throw new NotImplementedException();
        }

        public bool UpdateSale(SaleModel model)
        {
            throw new NotImplementedException();
        }

        public bool DeleteSale(int Id)
        {
            throw new NotImplementedException();
        }

        #endregion Sale


    }
}
